home *** CD-ROM | disk | FTP | other *** search
/ Know Your Baseball - The Greatest Player Resource / Know Your Baseball - Greatest Player.iso / Baseball / Director / KTGCST.CST / 00068_Script_For Roles Def < prev    next >
Text File  |  1998-09-21  |  2KB  |  67 lines

  1. global lastrollover,thisrollover
  2. on Spriteoffplayer
  3.   set mysprite = lastrollover
  4.   if getat(gbuttonstate,mysprite) = 0 then  
  5.     set the blend of sprite(lastrollover) = 0
  6.     set the blend of sprite(lastrollover+20) = 0
  7.     updateStage
  8.   end if 
  9. end    
  10.  
  11.  
  12. on SpriteOnplayer
  13.   set the blend of sprite(thisrollover) = 100  
  14.   set the blend of sprite(thisrollover+20) = 100  
  15. end
  16. ---- low sprites
  17. on Spriteofftwinlow
  18.   set mysprite = lastrollover+10
  19.   if getat(gbuttonstate,mysprite) = 0 then  
  20.     set the blend of sprite(lastrollover-10) = 0
  21.     set the blend of sprite(lastrollover+10) = 0
  22.     updateStage
  23.   end if 
  24. end    
  25.  
  26.  
  27. on SpriteonTwinLow
  28.   if thisrollover-10 < 1 then exit
  29.   set the blend of sprite(thisrollover-10) = 100  
  30.   set the blend of sprite(thisrollover+10) = 100  
  31. end
  32.  
  33. ---- hi sprites
  34.  
  35. on Spriteofftwinhi1
  36.   set mysprite = lastrollover+4
  37.   if getat(gbuttonstate,mysprite) = 0 then  
  38.     set the blend of sprite(lastrollover-16) = 0
  39.     set the blend of sprite(lastrollover+4) = 0
  40.     updateStage
  41.   end if 
  42. end    
  43.  
  44.  
  45. on SpriteonTwinhi1
  46.   if thisrollover-16 < 1 then exit
  47.   set the blend of sprite(thisrollover-16) = 100  
  48.   set the blend of sprite(thisrollover+4) = 100  
  49. end
  50.  
  51. on Spriteofftwinhi2
  52.   set mysprite = lastrollover+6
  53.   if getat(gbuttonstate,mysprite) = 0 then  
  54.     set the blend of sprite(lastrollover-14) = 0
  55.     set the blend of sprite(lastrollover+6) = 0
  56.     updateStage
  57.   end if 
  58. end    
  59.  
  60.  
  61. on SpriteonTwinhi2
  62.   if thisrollover-14 < 1 then exit
  63.   set the blend of sprite(thisrollover-14) = 100  
  64.   set the blend of sprite(thisrollover+6) = 100  
  65. end
  66.  
  67.